package com.ys.utils.yinsheng.yztdock.util;


public class PasswordHelper {
  
    public static String encryptPassword(String MD5,String password,String salt) {  
    	String newPwd = MD5Helper.encryption(password+salt);
    	newPwd = MD5Helper.encryption(newPwd);
        return newPwd;
    }  
    
    public static void main(String[] args){
    	System.out.println(encryptPassword("MD5","123456","Ez3JE71gNb"));
//    	System.out.println(encryptPassword("MD5","kwZ6pca9q7qqPUER","1578"));
    }
}  
